#include<iostream>
using namespace std;

const int N = 1e5 + 10;
char arr[N] = { 0 };

void odd_even_swap(char arr[N],const int num1,const int num2)
{
	int j = 0;
	int k = 0;
	char arr1[N / 2] = { 0 };
	char arr2[N / 2] = { 0 };
	for (int i = 0; i < (num1 + num2); i++)
	{
		if (((int)(arr[i] - '0'))%2==0)
		{

			arr2[j] = arr[i];
			j++;
		}
		else
		{
			arr1[k] = arr[i];
			k++;
		}
	}
	for (int i = 0; i < num1; i++)
	{
		arr[i] = arr1[i];
	}
	for (int i = 0; i <  num2; i++)
	{
		arr[num1+i] = arr2[i];
	}
}

int main()
{
	int odd = 0;
	int even = 0;
	int j = 0;
	char a = getchar();
	while (a != '\n')
	{
		arr[j] = a;
		j++;
		a = getchar();
	}
	for (int i = 0; i < j; i++)
	{
		if (((int)(arr[i] - '0')) % 2 == 0) even++;
		else odd++;
	}
	odd_even_swap(arr, odd, even);
	for (int i = 0; i < j; i++)
	{
		cout << arr[i];
	}
	return 0;
}